package com.smartstate.dataManagement.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartstate.dataManagement.dto.PageDTO;
import com.smartstate.dataManagement.entity.ObjMoudel;
import com.smartstate.dataManagement.entity.Objtype;
import com.smartstate.dataManagement.mapper.ObjMoudelMapper;
import com.smartstate.dataManagement.mapper.ObjTypeMapper;
import com.smartstate.dataManagement.service.ObjMoudelService;
import com.smartstate.dataManagement.service.ObjTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>空间结构</p>
 * <p>@Author 陈永杰</p>
 * <p>@Date: 2022/9/6</p>
 * <p>@Time: 19:35</p>
 * <p>@version 1.0 <p>
 */
@Transactional
@Service
@Slf4j
public class ObjTypeImpl extends ServiceImpl<ObjTypeMapper, Objtype> implements ObjTypeService {

    @Resource
    private ObjTypeMapper objTypeMapper;
    @Override
    public List<Objtype> selectAll() {
        return objTypeMapper.selectAll();
    }

    @Override
    public Page<Objtype> queryAllPageByDTO(PageDTO pageDTO) {
        return null;
    }
}